Function MORLET_FILTER_BANK_1D

Package

filters

Short description

Create a Morlet/Gabor filter bank

Usage

    filters = MORLET_FILTER_BANK_1D(sz, options)

Input

    sz (int): The size of the input data.
    options (struct, optional): Filter parameters, see below.

Output

    filters (struct): The Morlet/Gabor filter bank corresponding to the data 
       size sz and the filter parameters in options.

Description

    Depending on the value of options.filter_type, the functions either
    creates a Morlet filter bank (for filter_type 'morlet_1d') or a Gabor
    filter bank (for filter_type 'gabor_1d'). The former is obtained from 
    the latter by, for each filter, subtracting a constant times its enve-
    lopes uch that the mean of the resulting function is zero.
    The following parameters can be specified in options:
       options.filter_type (char): See above (default 'morlet_1d').
       options.Q (int): The number of wavelets per octave (default 1).
       options.B (int): The reciprocal per-octave bandwidth of the wavelets 
          (default Q).
       options.J (int): The number of logarithmically spaced wavelets. For  
          Q=1, this corresponds to the total number of wavelets since there 
          are no  linearly spaced ones. Together with Q, this controls the  
          maximum extent the mother wavelet is dilated to obtain the rest of 
          the filter bank. Specifically, the largest filter has a bandwidth
          2^(J/Q) times that of the mother wavelet (default 
          T_to_J(sz, options)).
       options.phi_bw_multiplier (numeric): The ratio between the bandwidth 
          of the lowpass filter phi and the lowest-frequency wavelet (default
           2 if Q = 1, otherwise 1).
       options.boundary, options.precision, and options.filter_format: 
          See documentation for the FILTER_BANK function.

See also

List of all packages